package com.esd.db.model;

import java.util.Date;

//记录工作者工作组修改的记录
public class WorkGroupChangeRecord {
	
	private String id;			// 主键id
	private int changedUserId;  // 被修改用户id
	private String newWorkGroupCode; //新的工作组代码
	private String oldWorkGroupCode; //旧工作组代码
	private int operatorId;   	// 操作人id
	private Date createTime;    // 创建时间
	
	public WorkGroupChangeRecord(){
		
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public int getChangedUserId() {
		return changedUserId;
	}

	public void setChangedUserId(int changedUserId) {
		this.changedUserId = changedUserId;
	}

	public String getNewWorkGroupCode() {
		return newWorkGroupCode;
	}

	public void setNewWorkGroupCode(String newWorkGroupCode) {
		this.newWorkGroupCode = newWorkGroupCode;
	}

	public String getOldWorkGroupCode() {
		return oldWorkGroupCode;
	}

	public void setOldWorkGroupCode(String oldWorkGroupCode) {
		this.oldWorkGroupCode = oldWorkGroupCode;
	}

	public int getOperatorId() {
		return operatorId;
	}

	public void setOperatorId(int operatorId) {
		this.operatorId = operatorId;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	@Override
	public String toString() {
		return "WorkGroupChangeRecord [id=" + id + ", changedUserId=" + changedUserId + ", newWorkGroupCode="
				+ newWorkGroupCode + ", oldWorkGroupCode=" + oldWorkGroupCode + ", operatorId=" + operatorId
				+ ", createTime=" + createTime + "]";
	}
	
}
